package com.ross.mode.food;

import com.ross.mode.fruit.FruitInterface;

/**
 * @version 1.0.0
 * @className: Food
 * @description:
 * @author: zhangjunfa
 * @date: 2023/4/4 16:42
 */
public abstract class FoodAbstract {
    protected FruitInterface fruitInterface;

    public FoodAbstract(FruitInterface fruitInterface) {
        this.fruitInterface = fruitInterface;
    }

    public void setFruitInterface(FruitInterface fruitInterface) {
        this.fruitInterface = fruitInterface;
    }

    public abstract void add();
}
